package com.hm.client;

import com.hm.domain.po.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
@FeignClient(name="order-service")

public interface OrderClient {

    @PostMapping("/orders/update")
    void updateById(@RequestBody Order order);

}
